#![windows_subsystem = "windows"]
#![feature(async_closure)]
#![feature(start)]

#[macro_use]
extern crate serde_derive;
extern crate serde_json;
extern crate web_view;

use std::process::exit;
use std::sync::mpsc::{Receiver, Sender};
pub use threadpool::ThreadPool as Pool;
use web_view::*;

mod database;
mod i_result;
mod main_func;
mod my_error;
mod my_request;
mod webview_handler;

#[no_mangle]
pub fn main() {
    main_func::run();
}
